try with resources in selenium